text/template/parse.Tree.newVariable (method)
5 uses
text/template/parse (current package)
node.go#L399: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
parse.go#L471: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L475: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L744: node = t.newVariable(chain.Position(), chain.String())
parse.go#L823: v := t.newVariable(pos, name)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)